package cate.game.event.mail;

import cate.game.event.GameEvent;
import cate.game.role.Role;
import cate.game.role.RoleDependent;
import cate.game.role.mail.Mail;
import lombok.Getter;

import java.util.List;
import java.util.Objects;

public class MailGetRewardEvent extends RoleDependent implements GameEvent {

    @Getter
    private final List<Mail> rwdGotList;

    public MailGetRewardEvent(Role role, List<Mail> rwdGotList) {
        super(role);
        this.rwdGotList = Objects.requireNonNull(rwdGotList);
    }
}
